package com.thingsgrid.workorder;

import org.springblade.core.cloud.feign.EnableBladeFeign;
import org.springblade.core.launch.BladeApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Properties;

/**
 * 工单管理启动器
 *
 * @author MQ
 */
@EnableBladeFeign
@SpringCloudApplication
public class WorkOrderApplication {

	public static void main(String[] args) {
		Properties properties = System.getProperties();
		properties.setProperty("spring.cloud.nacos.config.namespace","45c685c7-c694-46c2-9e1b-f171230c1434");

		ConfigurableApplicationContext run = BladeApplication.run("thingsgrid-workorder", WorkOrderApplication.class, args);
	}

}

